<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Kinetis Bootloader: DSPI Peripheral</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="nxp_logo_small.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Kinetis Bootloader
   &#160;<span id="projectnumber">2.0.0</span>
   </div>
   <div id="projectbrief">Common bootloader for Kinetis devices</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Introduction</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li class="current"><a href="modules.html"><span>Modules</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__dspi__peripheral.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">DSPI Peripheral<div class="ingroups"><a class="el" href="group__bootloader.html">Bootloader</a> &raquo; <a class="el" href="group__peripherals.html">Peripheral Definitions</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>DSPI peripheral interface.  
<a href="#details">More...</a></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Collaboration diagram for DSPI Peripheral:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<center><table><tr><td><div class="center"><iframe scrolling="no" frameborder="0" src="group__dspi__peripheral.svg" width="318" height="38"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
</td></tr></table></center>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:structdspi__transfer__info__t"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__dspi__peripheral.html#structdspi__transfer__info__t">dspi_transfer_info_t</a></td></tr>
<tr class="memdesc:structdspi__transfer__info__t"><td class="mdescLeft">&#160;</td><td class="mdescRight">Synchronization state between DSPI ISR and read/write functions.  <a href="group__dspi__peripheral.html#structdspi__transfer__info__t">More...</a><br /></td></tr>
<tr class="separator:structdspi__transfer__info__t"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga45a527a1ae32235c61d5117ba8aeb223"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga45a527a1ae32235c61d5117ba8aeb223"></a>
static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__dspi__peripheral.html#ga45a527a1ae32235c61d5117ba8aeb223">dspi_poll_for_activity</a> (const peripheral_descriptor_t *self)</td></tr>
<tr class="memdesc:ga45a527a1ae32235c61d5117ba8aeb223"><td class="mdescLeft">&#160;</td><td class="mdescRight">DSPI slave poll for activity function. <br /></td></tr>
<tr class="separator:ga45a527a1ae32235c61d5117ba8aeb223"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5009154efdd22a2043cba46b0c63583d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga5009154efdd22a2043cba46b0c63583d"></a>
static <a class="el" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__dspi__peripheral.html#ga5009154efdd22a2043cba46b0c63583d">dspi_full_init</a> (const peripheral_descriptor_t *self, serial_byte_receive_func_t function)</td></tr>
<tr class="memdesc:ga5009154efdd22a2043cba46b0c63583d"><td class="mdescLeft">&#160;</td><td class="mdescRight">DSPI slave init function. <br /></td></tr>
<tr class="separator:ga5009154efdd22a2043cba46b0c63583d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac845aca3e5fd724e372b3d41ec0283f7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gac845aca3e5fd724e372b3d41ec0283f7"></a>
static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__dspi__peripheral.html#gac845aca3e5fd724e372b3d41ec0283f7">dspi_full_shutdown</a> (const peripheral_descriptor_t *self)</td></tr>
<tr class="memdesc:gac845aca3e5fd724e372b3d41ec0283f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">DSPI slave shutdown function. <br /></td></tr>
<tr class="separator:gac845aca3e5fd724e372b3d41ec0283f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5258667fc225c3b48686c41703bb63d8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga5258667fc225c3b48686c41703bb63d8"></a>
static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__dspi__peripheral.html#ga5258667fc225c3b48686c41703bb63d8">dspi_data_source</a> (uint8_t *source_byte)</td></tr>
<tr class="memdesc:ga5258667fc225c3b48686c41703bb63d8"><td class="mdescLeft">&#160;</td><td class="mdescRight">DSPI slave sending data function. <br /></td></tr>
<tr class="separator:ga5258667fc225c3b48686c41703bb63d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga59f886daeac08cfec5878fbb516b73a4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga59f886daeac08cfec5878fbb516b73a4"></a>
static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__dspi__peripheral.html#ga59f886daeac08cfec5878fbb516b73a4">dspi_data_sink</a> (uint8_t sink_byte, uint32_t instance)</td></tr>
<tr class="memdesc:ga59f886daeac08cfec5878fbb516b73a4"><td class="mdescLeft">&#160;</td><td class="mdescRight">DSPI slave receiving data function. <br /></td></tr>
<tr class="separator:ga59f886daeac08cfec5878fbb516b73a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf3fada15c44a092e35fe147504c07dc2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaf3fada15c44a092e35fe147504c07dc2"></a>
static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__dspi__peripheral.html#gaf3fada15c44a092e35fe147504c07dc2">dspi_initial_data_sink</a> (uint8_t sink_byte, uint32_t instance)</td></tr>
<tr class="memdesc:gaf3fada15c44a092e35fe147504c07dc2"><td class="mdescLeft">&#160;</td><td class="mdescRight">DSPI slave receiving first byte data function. <br /></td></tr>
<tr class="separator:gaf3fada15c44a092e35fe147504c07dc2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga41f5536d86c430f90969cfb58b05182d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga41f5536d86c430f90969cfb58b05182d"></a>
<a class="el" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__dspi__peripheral.html#ga41f5536d86c430f90969cfb58b05182d">dspi_write</a> (const peripheral_descriptor_t *self, const uint8_t *buffer, uint32_t byteCount)</td></tr>
<tr class="memdesc:ga41f5536d86c430f90969cfb58b05182d"><td class="mdescLeft">&#160;</td><td class="mdescRight">DSPI slave writing data function. <br /></td></tr>
<tr class="separator:ga41f5536d86c430f90969cfb58b05182d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7cfacffec1503708c656cc71b7ed07fb"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga7cfacffec1503708c656cc71b7ed07fb"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>dspi_slave_irq_handler</b> (uint32_t instance)</td></tr>
<tr class="separator:ga7cfacffec1503708c656cc71b7ed07fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga47e5c0c756d2cbe7bc497bfc82905521"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga47e5c0c756d2cbe7bc497bfc82905521"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>SPI0_IRQHandler</b> (void)</td></tr>
<tr class="separator:ga47e5c0c756d2cbe7bc497bfc82905521"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9bbd8c17ce4f49adcca47d11f482aab6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga9bbd8c17ce4f49adcca47d11f482aab6"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>SPI1_IRQHandler</b> (void)</td></tr>
<tr class="separator:ga9bbd8c17ce4f49adcca47d11f482aab6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga68d8880cd80cb17a2501487c3d649ea1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga68d8880cd80cb17a2501487c3d649ea1"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>SPI2_IRQHandler</b> (void)</td></tr>
<tr class="separator:ga68d8880cd80cb17a2501487c3d649ea1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:ga3031f93c0ddd3b037bcea1e545d11079"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="group__peripheral.html#structperipheral__control__interface__t">peripheral_control_interface_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__dspi__peripheral.html#ga3031f93c0ddd3b037bcea1e545d11079">g_dspiControlInterface</a></td></tr>
<tr class="memdesc:ga3031f93c0ddd3b037bcea1e545d11079"><td class="mdescLeft">&#160;</td><td class="mdescRight">DSPI slave control interface information.  <a href="#ga3031f93c0ddd3b037bcea1e545d11079">More...</a><br /></td></tr>
<tr class="separator:ga3031f93c0ddd3b037bcea1e545d11079"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga53bd1b39629abdeb8a534123ec503e51"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="group__peripheral.html#structperipheral__byte__inteface__t">peripheral_byte_inteface_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__dspi__peripheral.html#ga53bd1b39629abdeb8a534123ec503e51">g_dspiByteInterface</a> = {.init = NULL, .write = <a class="el" href="group__dspi__peripheral.html#ga41f5536d86c430f90969cfb58b05182d">dspi_write</a> }</td></tr>
<tr class="memdesc:ga53bd1b39629abdeb8a534123ec503e51"><td class="mdescLeft">&#160;</td><td class="mdescRight">DSPI slave byte interface information.  <a href="#ga53bd1b39629abdeb8a534123ec503e51">More...</a><br /></td></tr>
<tr class="separator:ga53bd1b39629abdeb8a534123ec503e51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab03d15ed7a9c34961c950b8ff52f0aa4"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="group__dspi__peripheral.html#structdspi__transfer__info__t">dspi_transfer_info_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__dspi__peripheral.html#gab03d15ed7a9c34961c950b8ff52f0aa4">s_dspiInfo</a></td></tr>
<tr class="memdesc:gab03d15ed7a9c34961c950b8ff52f0aa4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Global state for the DSPI slave peripheral interface.  <a href="#gab03d15ed7a9c34961c950b8ff52f0aa4">More...</a><br /></td></tr>
<tr class="separator:gab03d15ed7a9c34961c950b8ff52f0aa4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabd0eea91fd0620b847bb43778105c5e1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gabd0eea91fd0620b847bb43778105c5e1"></a>
static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__dspi__peripheral.html#gabd0eea91fd0620b847bb43778105c5e1">s_dspiActivity</a> [FSL_FEATURE_SOC_DSPI_COUNT] = { false }</td></tr>
<tr class="memdesc:gabd0eea91fd0620b847bb43778105c5e1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Flag for DSPI detecting device activity. <br /></td></tr>
<tr class="separator:gabd0eea91fd0620b847bb43778105c5e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae5a2d31e865cf77b67d16a84b9048d57"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gae5a2d31e865cf77b67d16a84b9048d57"></a>
static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__dspi__peripheral.html#gae5a2d31e865cf77b67d16a84b9048d57">s_dspiIntialized</a> [FSL_FEATURE_SOC_DSPI_COUNT] = { false }</td></tr>
<tr class="memdesc:gae5a2d31e865cf77b67d16a84b9048d57"><td class="mdescLeft">&#160;</td><td class="mdescRight">Flag for DSPI intialization state. <br /></td></tr>
<tr class="separator:gae5a2d31e865cf77b67d16a84b9048d57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga57cc95aa073e6cea7fd3c20b9c5a7695"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga57cc95aa073e6cea7fd3c20b9c5a7695"></a>
static serial_byte_receive_func_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__dspi__peripheral.html#ga57cc95aa073e6cea7fd3c20b9c5a7695">s_dspi_app_data_sink_callback</a></td></tr>
<tr class="memdesc:ga57cc95aa073e6cea7fd3c20b9c5a7695"><td class="mdescLeft">&#160;</td><td class="mdescRight">DSPI slave receiving data call back function. <br /></td></tr>
<tr class="separator:ga57cc95aa073e6cea7fd3c20b9c5a7695"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0cb01d1a7fa3cf7bf541df4db9f773ff"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga0cb01d1a7fa3cf7bf541df4db9f773ff"></a>
static const uint32_t&#160;</td><td class="memItemRight" valign="bottom"><b>g_dspiBaseAddr</b> [] = SPI_BASE_ADDRS</td></tr>
<tr class="separator:ga0cb01d1a7fa3cf7bf541df4db9f773ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Usage Information</h2>
<p>DSPI peripheral interface. </p>
<hr/><h2 class="groupheader">Data Structure Documentation</h2>
<a name="structdspi__transfer__info__t" id="structdspi__transfer__info__t"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct dspi_transfer_info_t</td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="textblock"><p>Synchronization state between DSPI ISR and read/write functions. </p>
</div><table class="memberdecls">
<tr><td colspan="2"><h3>Data Fields</h3></td></tr>
<tr class="memitem:a3a4b30eae7b109b07563f393896fec3e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3a4b30eae7b109b07563f393896fec3e"></a>
const uint8_t *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__dspi__peripheral.html#a3a4b30eae7b109b07563f393896fec3e">writeData</a></td></tr>
<tr class="memdesc:a3a4b30eae7b109b07563f393896fec3e"><td class="mdescLeft">&#160;</td><td class="mdescRight">The applications data to write. <br /></td></tr>
<tr class="separator:a3a4b30eae7b109b07563f393896fec3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65a142e258c9eb8e52e2d680356c4c53"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a65a142e258c9eb8e52e2d680356c4c53"></a>
volatile uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__dspi__peripheral.html#a65a142e258c9eb8e52e2d680356c4c53">bytesToTransfer</a></td></tr>
<tr class="memdesc:a65a142e258c9eb8e52e2d680356c4c53"><td class="mdescLeft">&#160;</td><td class="mdescRight">The total number of bytes to be transmitted. <br /></td></tr>
<tr class="separator:a65a142e258c9eb8e52e2d680356c4c53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad973e4d60775400f9aca1b2d19d2e3ee"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad973e4d60775400f9aca1b2d19d2e3ee"></a>
void(*&#160;</td><td class="memItemRight" valign="bottom"><b>data_source</b> )(uint8_t *source_byte)</td></tr>
<tr class="separator:ad973e4d60775400f9aca1b2d19d2e3ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af95157416dd54acf148383b734ce5a4e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af95157416dd54acf148383b734ce5a4e"></a>
void(*&#160;</td><td class="memItemRight" valign="bottom"><b>data_sink</b> )(uint8_t sink_byte, uint32_t instance)</td></tr>
<tr class="separator:af95157416dd54acf148383b734ce5a4e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a class="anchor" id="ga53bd1b39629abdeb8a534123ec503e51"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="group__peripheral.html#structperipheral__byte__inteface__t">peripheral_byte_inteface_t</a> g_dspiByteInterface = {.init = NULL, .write = <a class="el" href="group__dspi__peripheral.html#ga41f5536d86c430f90969cfb58b05182d">dspi_write</a> }</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>DSPI slave byte interface information. </p>
<p>Byte I/O interface for the DSPI peripheral driver. </p>

</div>
</div>
<a class="anchor" id="ga3031f93c0ddd3b037bcea1e545d11079"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="group__peripheral.html#structperipheral__control__interface__t">peripheral_control_interface_t</a> g_dspiControlInterface</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line">= {</div><div class="line">    .pollForActivity = <a class="code" href="group__dspi__peripheral.html#ga45a527a1ae32235c61d5117ba8aeb223">dspi_poll_for_activity</a>, .init = <a class="code" href="group__dspi__peripheral.html#ga5009154efdd22a2043cba46b0c63583d">dspi_full_init</a>, .shutdown = <a class="code" href="group__dspi__peripheral.html#gac845aca3e5fd724e372b3d41ec0283f7">dspi_full_shutdown</a>, .pump = 0</div><div class="line">}</div><div class="ttc" id="group__dspi__peripheral_html_ga5009154efdd22a2043cba46b0c63583d"><div class="ttname"><a href="group__dspi__peripheral.html#ga5009154efdd22a2043cba46b0c63583d">dspi_full_init</a></div><div class="ttdeci">static status_t dspi_full_init(const peripheral_descriptor_t *self, serial_byte_receive_func_t function)</div><div class="ttdoc">DSPI slave init function. </div><div class="ttdef"><b>Definition:</b> dspi_peripheral_interface.c:180</div></div>
<div class="ttc" id="group__dspi__peripheral_html_gac845aca3e5fd724e372b3d41ec0283f7"><div class="ttname"><a href="group__dspi__peripheral.html#gac845aca3e5fd724e372b3d41ec0283f7">dspi_full_shutdown</a></div><div class="ttdeci">static void dspi_full_shutdown(const peripheral_descriptor_t *self)</div><div class="ttdoc">DSPI slave shutdown function. </div><div class="ttdef"><b>Definition:</b> dspi_peripheral_interface.c:210</div></div>
<div class="ttc" id="group__dspi__peripheral_html_ga45a527a1ae32235c61d5117ba8aeb223"><div class="ttname"><a href="group__dspi__peripheral.html#ga45a527a1ae32235c61d5117ba8aeb223">dspi_poll_for_activity</a></div><div class="ttdeci">static bool dspi_poll_for_activity(const peripheral_descriptor_t *self)</div><div class="ttdoc">DSPI slave poll for activity function. </div><div class="ttdef"><b>Definition:</b> dspi_peripheral_interface.c:121</div></div>
</div><!-- fragment -->
<p>DSPI slave control interface information. </p>
<p>Control interface for the DSPI peripheral driver. </p>

</div>
</div>
<a class="anchor" id="gab03d15ed7a9c34961c950b8ff52f0aa4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__dspi__peripheral.html#structdspi__transfer__info__t">dspi_transfer_info_t</a> s_dspiInfo</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line">= {</div><div class="line">    .writeData = 0, .bytesToTransfer = 0, .data_source = <a class="code" href="group__dspi__peripheral.html#ga5258667fc225c3b48686c41703bb63d8">dspi_data_source</a>, .data_sink = <a class="code" href="group__dspi__peripheral.html#gaf3fada15c44a092e35fe147504c07dc2">dspi_initial_data_sink</a></div><div class="line">}</div><div class="ttc" id="group__dspi__peripheral_html_ga5258667fc225c3b48686c41703bb63d8"><div class="ttname"><a href="group__dspi__peripheral.html#ga5258667fc225c3b48686c41703bb63d8">dspi_data_source</a></div><div class="ttdeci">static void dspi_data_source(uint8_t *source_byte)</div><div class="ttdoc">DSPI slave sending data function. </div><div class="ttdef"><b>Definition:</b> dspi_peripheral_interface.c:132</div></div>
<div class="ttc" id="group__dspi__peripheral_html_gaf3fada15c44a092e35fe147504c07dc2"><div class="ttname"><a href="group__dspi__peripheral.html#gaf3fada15c44a092e35fe147504c07dc2">dspi_initial_data_sink</a></div><div class="ttdeci">static void dspi_initial_data_sink(uint8_t sink_byte, uint32_t instance)</div><div class="ttdoc">DSPI slave receiving first byte data function. </div><div class="ttdef"><b>Definition:</b> dspi_peripheral_interface.c:153</div></div>
</div><!-- fragment -->
<p>Global state for the DSPI slave peripheral interface. </p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Generated on Mon Mar 7 2016 16:48:23 for Kinetis Bootloader by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
